package com.yunxiao.cloud.web.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 用户者个角色汇总表
 * </p>
 *
 * @author yunxiao
 * @since 2020-01-19
 */
@TableName("tb_role")
public class Role implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * roleID
     */
    private String roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 权限列表 以英文逗号隔开
     */
    private String permissionList;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(String permissionList) {
        this.permissionList = permissionList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Role{" +
        "id=" + id +
        ", roleId=" + roleId +
        ", roleName=" + roleName +
        ", permissionList=" + permissionList +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
